<!--乘客列表|add:添加,delete:删除,edit:编辑,forbidden:禁用,startusing:启用,detail:查看-->
<div >
	<div class="am-u-sm-12 cl-p">
		<div>
		<form class="layui-form" action="" method="get">
			<input type="hidden" name="op"  value="{$Think.get.op}">
			<div class="layui-form-item">
				<div class="layui-input-inline">
					<select name="is_check" >
						<option {$Think.get.is_check} value="0">全部-乘客</option>
						<option {$Think.get.is_check==1?selected:""} value="1">审核员</option>
						<option {$Think.get.is_check==2?selected:""} value="2">非审核员</option>
					</select>
				</div>
				<div class="layui-input-inline">
					<input type="text" name="company_name" placeholder="请输入公司/单位名称" class="layui-input"  value="{$Think.get.company_name}">
				</div>
				<div class="layui-input-inline">
					<input type="text" name="name" placeholder="乘客姓名" class="layui-input"  value="{$Think.get.name}">
				</div>
				<div class="layui-input-inline">
					<input type="text" name="phone" placeholder="乘客电话" class="layui-input"  value="{$Think.get.phone}">
				</div>
				
				
				<div class="layui-inline">
					<button class="layui-btn layui-btn layui-btn-normal" lay-submit lay-filter="formDemo">查询</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
				
			</div>
			
		</form>
		
	</div>
		
	</div>
	
	<div class="table_w">
		<!--<form class="am-form tpl-form-border-form tpl-form-border-br cl-p cl-m" action="outexcel" method="get">
			<div class="am-btn-group am-u-sm-12 am-btn-group-xs cl-p">
				<a href="{:url('/admin/driver/add')}" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 新增</a>
				<button type="button" class="am-btn am-btn-default delete-multiple" data-method='deleteMultiple' data-type="getCheckData"><span class="am-icon-trash-o"></span> 删除</button>
				<button class="am-btn am-btn-default am-fr" style="float: right;">导出数据</button>
			</div>
		</form>-->
		<div class="layui-btn-group">
		  <button class="layui-btn layui-btn-sm layui-btn-primary add" data-btn="add">
		    <i class="layui-icon">&#xe654;</i>
		  </button>
		 
		  <button class="layui-btn layui-btn-sm layui-btn-primary delete-multiple" data-btn="delete">
		    <i class="layui-icon">&#xe640;</i>
		  </button>
		</div>
		<div class="table_margin_0">
			<table  class="layui-hide" id="driver" lay-filter="driver"></table>
		</div>
		<script type="text/html" id="passenger_id">
		  <a href="{:url('html/system/passenger_detail')}?passenger_id={{d.passenger_id}}" class="layui-table-link">{{ d.name }}</a>
		</script>
		{if $Think.get.op}
		<script type="text/html" id="choose">
			<a class="layui-btn layui-btn-xs" lay-event="choose">选中</a>
		</script>
		{else/}
		<script type="text/html" id="operation">
			 {{#  if(d.state ==1){ }}
			 <a class="layui-btn layui-btn-orange layui-btn-xs" lay-event="forbidden" data-btn="forbidden">禁用</a>
			 {{#  } else { }}
			 <a class="layui-btn layui-btn-xs layui-btn-orange" lay-event="startusing" data-btn="startusing">启用</a>
			  {{#  } }}
			<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="edit" data-btn='edit'>编辑</a>
			<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" data-btn='delete'>删除</a>
		</script>
		{/if}
		
		<script type="text/html" id="relevance">
			<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="relevance" data-btn="detail">查看</a>
		</script>
		<div id="page"></div>
	</div>

</div>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.2&key={:config('base.mapkey')}&plugin=AMap.Driving"></script>
<script src="//webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>